{"errors":[{"title":"Forbidden"}]} - cuando conectar joomla con "postman" Topic is solved

Para cualquier duda sobre Joomla! 4.x que no tenga cabida en alguno de los foros de más abajo.

Moderator: hefesto

Post Reply
Marcdmsolucions
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jun 23, 2023 9:12 am

{"errors":[{"title":"Forbidden"}]} - cuando conectar joomla con "postman"

Post by Marcdmsolucions » Fri Jun 23, 2023 9:37 am

Hola, tengo un problema, cuando intento conectar mi joomla con "postman" y le mando para obtener los menús me salta este error

{"errors":[{"title":"Forbidden"}]}
---------------------------------------------------------------------
{
"errors": [
{
"title": "Forbidden"
}
]
}

Y no me deveulve nada, necesito saber que puede ocurrir, estoy con superuser y no se que más probar




-------------------------------------------------------------------------------------------------------------------------------------------------


Hello, I have a problem, when I try to connect my joomla with "postman" and I send it to get the menus, I get this error

{"errors":[{"title":"Forbidden"}]}
-------------------------------------------------- -------------------
{
"mistakes": [
{
"title": "Forbidden"
}
]
}

And it doesn't return anything, I need to know what can happen, I'm with superuser and I don't know what else to try
Last edited by toivo on Fri Jun 23, 2023 9:52 am, edited 1 time in total.
Reason: mod note: moved from 4.x General Questions, retitled

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 25009
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: {"errors":[{"title":"Forbidden"}]} - cuando conectar joomla con "postman"

Post by pe7er » Fri Jun 23, 2023 10:51 am

Welcome to Joomla forum!

What did you configure in Postman?
Did you add the API token of your super admin user to Postman?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

Marcdmsolucions
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jun 23, 2023 9:12 am

Re: {"errors":[{"title":"Forbidden"}]} - cuando conectar joomla con "postman"

Post by Marcdmsolucions » Fri Jun 23, 2023 10:56 am

Hi thanks for the replay, yes I did, I used the token, I've activated the plugin and I followed the [youtube] tutorial so the postman should be correct. And also I opened the ports 25,587,116,143..

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 25009
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: {"errors":[{"title":"Forbidden"}]} - cuando conectar joomla con "postman"

Post by pe7er » Fri Jun 23, 2023 11:23 am

Have you seen the following article about webservices?
https://magazine.joomla.org/all-issues/ ... api-part-1

Could you try using some php code to access your web services api?
https://manual.joomla.org/docs/general- ... ebservices
If that works, then maybe there's an issue with your Postman (configuration)
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

Marcdmsolucions
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jun 23, 2023 9:12 am

Re: {"errors":[{"title":"Forbidden"}]} - cuando conectar joomla con "postman"

Post by Marcdmsolucions » Mon Jun 26, 2023 7:48 am

Hi, thanks for the reply pe7er, i did this:

https://prnt.sc/4Q5b9uu04lyN

i used the Url of the website and the key from super-user and this was the response:

https://prnt.sc/PLj9hq6Q1gFG :( :(

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 25009
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: {"errors":[{"title":"Forbidden"}]} - cuando conectar joomla con "postman"

Post by pe7er » Mon Jun 26, 2023 9:14 am

Can you reset the API token of your super admin and use that new token?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

Marcdmsolucions
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jun 23, 2023 9:12 am

Re: {"errors":[{"title":"Forbidden"}]} - cuando conectar joomla con "postman"

Post by Marcdmsolucions » Mon Jun 26, 2023 9:20 am

I just did it but the problem is still happening, thanks for the help, this problem is messing with me. Do you have any other suggestions?

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 25009
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: {"errors":[{"title":"Forbidden"}]} - cuando conectar joomla con "postman"

Post by pe7er » Mon Jun 26, 2023 9:50 am

Sorry, no. Hopefully someone else might have some ideas?

I guess that I would try the following:
install a Joomla 4 website on my local pc and test the API Web Services there.
When it works, I would compare the server / site settings with the live server where it does not work.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

Marcdmsolucions
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jun 23, 2023 9:12 am

Re: {"errors":[{"title":"Forbidden"}]} - cuando conectar joomla con "postman"

Post by Marcdmsolucions » Mon Jun 26, 2023 10:09 am

Actually I reinstalled a new Joomla on a diferent server (from a different companies) and the same issue.

Literally readed all that i found about this issue and nothing solved the problem. I'm thinking to do webscrapping with python to create my own API to get the articles (i only need that).

Really thanks for the help


Post Reply

Return to “Joomla! 4.x”