I’m trying to use this API but I am getting an error, I tested it on Postman and it’s working without a problem. Now, I’m trying to implement it on Bubble.
Pretty sure that postman overwrite your content-type header because you have selected x-www-form-urlencoded (or you have twice this header… scroll up to see the one added by default by Postman). Delete your body, and instead add parameters (two, one usr and one pwd) and replace content-type header value by: application/x-www-form-urlencoded
I already modify the postman like you said and still working but how about the settings in Bubble API Connector? I did the same settings but still not working
I am not really familiar with API, but base on my research Password Based Authentication is using session data to authenticate the call but the problem is API Connector does not have this ability to handle Session Data. Not sure about this but this is what I know.
Can you share last setting? You could try to activate querystring checkbox
Link to API doc?
However, the errormyou get is strange. On which Bubble version are you? Maybe you should start from scratch
I did not use the Token Based Authentication since I don’t have the permission to generate API Keys so instead I am using Password Based Authentication
According to doc, the correct settings is to use json. While in postman, seem to use url form encoded. Both could work, but documentation show JSON format
Checked this morning and I get the same error you got but this is not related to the error you have to connect this service. Don’t you get any other error in API Connector? I don’t have access to a server for that so it’s a little bit hard to help and do some testing.
Send request to requestbin.com endpoint from postman and after do the same from Bubble. Compare both. You could post it here and it may be possible to help you
Just found that Bubble doesn’t seem to overwritte header anymore if you use JSON like it was before (even if it should…) So this may explain your issue. But using requestbin will help a lot to compare both calls and fix this
I’ve already tried different settings and still can’t make it work. I guess my last resort is to DM you the credentials then probably test it in your end, if that’s fine with you?