“I have a workflow that uses the HTTP Request block to make a POST call to an external WordPress API. The call is failing with a 401 Unauthorized error (rest_cannot_create).”
Troubleshooting Steps Taken
"To troubleshoot this, I performed the following tests, which have ruled out all issues on my end:
-
Tested the API and Credentials directly: I used a separate API client (Postman) to make the exact same
POSTrequest to the WordPress API. This test succeeded with a201 Createdresponse. This confirms that the API endpoint is working, my credentials are correct, and there are no server-side firewall or plugin conflicts. -
Confirmed the generated JSON: I verified that the
Generate Textblock is producing a correctly formatted JSON payload. -
Removed all variables from the HTTP Request: I created a new workflow with a hardcoded
Authorizationheader and a hardcoded JSON body (pasted directly from the successful Postman test). This test failed with the same401 Unauthorizederror. This proves that the issue is not related to dynamic variables or how the AI is generating the content.
Conclusion
“Based on these results, it appears there is an issue with how the MindStudio HTTP Request block is sending the request, possibly due to a bug where it’s adding unseen parameters or headers that are causing the request to be rejected by the server.”

