Skip to content

POSTgREST API Request is success however no data is returned #3667

Answered by soorajiyer
soorajiyer asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, it worked finally. The problem was with the role and access within the PostgresSQL database.

CREATE ROLE "b4022076-068e-4f1e-8c91-56a78be78308"NOLOGIN;
GRANT web_anon TO "b4022076-068e-4f1e-8c91-56a78be78308";
GRANT USAGE ON SCHEMA iot TO "b4022076-068e-4f1e-8c91-56a78be78308";
GRANT SELECT ON ALL TABLES IN SCHEMA iot TO "b4022076-068e-4f1e-8c91-56a78be78308";

i did this queries again restarted the api and it worked. Thanks for the help.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@soorajiyer
Comment options

@wolfgangwalther
Comment options

Comment options

You must be logged in to vote
3 replies
@wolfgangwalther
Comment options

@soorajiyer
Comment options

@soorajiyer
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3666 on July 23, 2024 09:23.