Wbhooks wor in Test environment but not in production

Hi everyone :slight_smile:

Describe the problem/error/question

I have setup my first workflow, it perfectly works in test environment, but not in production. The issue seems to be related to my two webooks trigger (which again work perfectly in test).

What is the error message (if any)?

{“code”:404,“message”:“This webhook is not registered for GET requests. Did you mean to make a POST request?”}

Please share your workflow

Share the output returned by the last node

This workflow is triggered by an Apple Shorcuts Workflows (the webhooks there are the production one). The output returned by it is “the request timed out”.

I am running N8N on Railway.
N8n Version 1.72.1
Operating System MacOS Sonoma

Can anyone help?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Welcome to the community @peras !

Tip for sharing information

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

That implies to any JSON output you would like to share with us.

Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!


The test and prod URLs are different. For production mode, make sure to

  • activate your workflow
  • use correct URL
  • use correct HTTP method

Hi @ihortom thanks a lot!

I confirm that:

  • Workflow was active at the time of the test
  • I have changed the url (copy pasted from the production section)
  • Used POST HTTP method both in iOS shortcuts and in the n8n workflow

Any hint? Something else I could provide to clarify my case?

Try to test your webhook trigger by a third-party service like https://reqbin.com/ and see if it works.

Hi @Ruslan_Yanyshyn

Unfortunately it gives me the same exact result. I confirm that the method are specified as POST both in my workflow on N8N and in Shortcuts. The link to the webhook is correct.

Any idea? {
“code”: 404,
“message”: “This webhook is not registered for GET requests. Did you mean to make a POST request?”
}

What type of request are you sending to your webhook? Based on the workflow, it’s configured to handle POST requests.
Did you set the request type correctly on https://reqbin.com/? It should look like this: