API Call working in API Connector, but not in workflow (frontend+backend))

Since yesterday, some (3) api calls are not working in the workflow (regular + backend). These calls were working perfectly till last evening. But they do run in the API connector smoothly without any error whatsoever - just as regular.

workflow run:

API connector run:

I’ve checked the credentials at every level, and have tried removing the JSON body, tried duplicating the whole API Call, but nothing seems to make it work when run from the workflow. Since I’m passing text values, I’ve also tried “formatted as json-safe“, yet not work in the workflow.

What are the names of the api calls you are using?

This could be the input you are using, You didn’t share this in your workflow settings and didn’t share your API connector settings.

Are you using :formatted as json-safe?

1 Like

I’m calling Vertex AI APIs. The credentials and others are correct, as the calls in the API connector, but not in the workflow

I did use Json-safe but no positive signs

Maybe that’s the problem: in your JSON body, within the “input_content” parameter, you’re already enclosing the value in quotes, like this:

json…: “<input_content>”

However, when you use JSON Safe, it automatically adds quotes at the beginning and end.

Try removing the quotes from the <input_content> parameter and using JSON Safe.

3 Likes

Please share screenshot. You may not use it correctly like @carlovsk.edits said

1 Like