You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found recent error or warning messages in the Apache error log.
[Sensitive]
bndiagnostic was not useful. Could you please tell us why?
I didn't find errors related to rest api
Describe your issue as much as you can
I created a WordPress instance using AWS Lightsail. I added SSL certificate and redirects from non-www to www and from http to https. Then, I created credentials for api usage.
I checked that GET request to get posts works (/wp/v2/posts)
But POST request to create a post (using the same endpoint) returns 401 error.
Status code: 401.
Response: {"code":"rest_cannot_create","message":"Sorry, you are not allowed to create posts as this user.","data":{"status":401}}
The text was updated successfully, but these errors were encountered:
Thank you for using Bitnami. That's a specific question about the application and how it works. Please take a look at the app's documentation and forums to get more information about it.
Thank you for using Bitnami. That's a specific question about the application and how it works. Please take a look at the app's documentation and forums to get more information about it.
But authentication doesn't work somehow. So, I suppose it's related to some Bitnami's changes in the Wordpress instance. It's the reason I created a ticket here.
Platform
AWS
bndiagnostic ID know more about bndiagnostic ID
3ed4abdd-09bf-fad7-d154-3ea89f94b70d
bndiagnostic output
[Resources]
Your instance has little available RAM memory.
You could try to increase your instance's memory. Please check your cloud
provider's documentation for more information.
Press [Enter] to continue:
[Connectivity]
Server ports 22, 80 and/or 443 are not publicly accessible. Please check the
following guide to open server ports for remote access:
https://docs.bitnami.com/general/faq/administration/use-firewall/
[Apache]
Found recent error or warning messages in the Apache error log.
[Sensitive]
bndiagnostic was not useful. Could you please tell us why?
I didn't find errors related to rest api
Describe your issue as much as you can
I created a WordPress instance using AWS Lightsail. I added SSL certificate and redirects from non-www to www and from http to https. Then, I created credentials for api usage.
I checked that GET request to get posts works (
/wp/v2/posts
)But POST request to create a post (using the same endpoint) returns
401
error.Status code:
401
.Response:
{"code":"rest_cannot_create","message":"Sorry, you are not allowed to create posts as this user.","data":{"status":401}}
The text was updated successfully, but these errors were encountered: