Prestashop 1.7 returns 404 when trying to update product

I`m trying to update my products description on prestashop 1.7
I can get product by using make module and it shows all the data.
But when i try to update product description i get 404 error.
This is my prestashop update product setup:

And this is the error:

what can be the problem?

Hi @Jeremiasz_Kucharski,

A 404 error is the notorious status code that you receive if a file, page or resource is not found. As there is no error message explaining what is not found, it could be any of the fields that you pass. I assume it is the product that cannot be found based on the ID that you pass.

I suggest you empty the module, and that you incrementally add more and more fields and run the module until you encounter the error again.

Henk
Certified Make Expert and Partner
Book a consult with me

2 Likes

I added just the id and it still doesnt find the product. but it finds this same product after id when i use “get product” module

Then that is the cause of your issue. Check all the necessities such as:

  1. Are all modules connected to the same connection?
  2. What if you manually give in the product ID instead of mapping it?
  3. Is this the only product with an issue, or are there others?
  4. Are you able to update a product if you create the setup via the ‘Make an API Call’?
  5. Far-fetched but always worth checking: are the permissions of the authenticated user setup correctly?

And you can also check what the exact request to PrestaShop looks like via the Integromat DevTools extension:

Henk
Certified Make Expert and Partner
Book a consult with me

2 Likes