oracle / oracle/oci-java-sdk

Invoking function fails when SDK version updated from 3.9.1 to 3.13.0 and 3.14.0

Open
#517 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Functions
Dominant language
Java
Stars
243
Forks
171
Avg merge
30m
Merged PRs (30d)
4

Description

Invoking functions worked with SDK v3.9.1; after updating the version to 3.13.0 and 3.14.0, both versions throw the error com.oracle.bmc.model.BmcException: Error returned by InvokeFunction operation in FunctionsInvoke service.(404, NotAuthorizedOrNotFound, false) You're trying to invoke a function without setting the invoke endpoint.

Note: the same endpoint was provided in all cases (example: https://aabbcc112233.us-ashburn-1.functions.oci.oraclecloud.com).

I do not see any related breaking changes documented in the changelog.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reproducing the InvokeFunction failure with SDK versions 3.9.1, 3.13.0, and 3.14.0 using the endpoint shown in the issue, then compare the relevant SDK changes and CHANGELOG entries. Done means identifying the regression or documented behavior change and confirming that function invocation works with the affected versions or that the required endpoint handling is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.