Hi All,
I am not sure why my actual api workflow always failed with an error -
{"type":"error","error":{"type":"invalid_request_error","message":"The request body is not valid JSON: unexpected character: line 16 column 23 (char 78933)"}}
But, the API initialization is always successful. Attached some screenshots here for more details.
I even tried to hardcoded the (body) base64 pdf with an actual base64 text using arbitrary text. Still got the same error. Really need some pointers to see what am I missing here. Thank you!
Jici
2
When you use encoded as json-safe, this add surrounding double quotes. Remove them from your body in API connector
1 Like
Thank you for your help! Removed them. It can’t initialize.
Actually, it’s working now! I was dumb. I added " " to the mock value and it initializes successfully! Thank. you so much for your help!
1 Like