Formidable Forms API - Forbidden - but works fine in POSTMAN


This Discussion is public


Hello:I've been trying to get the formidable forms API to work. I've done the following:

  1. Installed/Activated the plugin with the new token
  2. Ran the test in Postman: Successful - 200 Response
  3. Ran a test using FME httpcaller: Failed  - I get the message:
    • Received HTTP response header: 'HTTP/1.1 403 Forbidden' in FME and
    • {"code":"rest_forbidden_context","message":"Sorry, you are not allowed to view entries","data":{"status":403}} in the _response_body


Any ideas where I can start troubleshooting? I know the API is working since Postman works.

Install the Formidable logging plugin. It provides details about the communication between the API and remote system, as well as other form actions.

The logging plugin helped me solve a tough API failure. Turns out a date/time field was failing validation on the remote end because the API was sending empty data for the field. The field was definitely populated on the sending side though.

Normally, when I set up APIs, I use the field key as the value in the key/value pair. In this case, the field key wasn't working for the date/time field. As soon as I switched it to the field ID, the API worked. I suspect this may be a bug in the API, but I haven't had the time to research it further and since there's an easy work around, I didn't feel rushed to report it.

API issues are hard to diagnose, but the logging plugin helps tremendously. Good luck with this.

Try to change your Permalink to custom

Reply to this Discussion