Comments (4)
PR-958 platformAppApiKey "Non permissible resource"
from chatwoot.
ref : #2548 (comment)
from chatwoot.
Thank you @sojan-official, though I believe there might still be an issue.
Steps to reproduce:
-
Verified that there is only one platform with the ID: 1, for which I have an access key. And one account with ID: 1.
-
Executed the script from the linked message:
irb(main):001:0> PlatformAppPermissible.create!(platform_app: PlatformApp.find(1), permissible: Account.find(1))
=>
#<PlatformAppPermissible:0x00007f54830515e8
id: 1,
platform_app_id: 1,
permissible_type: "Account",
permissible_id: 1,
created_at: Tue, 27 Feb 2024 13:34:01.757912000 UTC +00:00,
updated_at: Tue, 27 Feb 2024 13:34:01.757912000 UTC +00:00> -
Created a new user in the super_admin dashboard, under the Users section (user id: 15), and added him to Account Users (account id: 1). This new user can be correctly retrieved via an API call that lists all Account Users:
{"id":15,"account_id":1,"user_id":15,"role":"agent","inviter_id":null,"created_at":"2024-02-27T14:32:59.191Z","updated_at":"2024-02-27T14:32:59.191Z","active_at":null,"availability":"online","auto_offline":true} -
However, I am still encountering the same issue when attempting to retrieve the user details via an API call using platform app 1 access key:
curl -X GET '$host/platform/api/v1/users/15' -H 'Content-Type: application/json' -H 'api_access_token: $token'
{"error":"Non permissible resource"}
from chatwoot.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from chatwoot.
Related Issues (20)
- Articles UI/API not working HOT 2
- WA Cloud API: Complex template message, with variables in the header, body, footer and buttons. HOT 1
- OpenAI proxy setup HOT 1
- Create new languages in crowdin - Tagalog / Malay / Bahasa Indonesia HOT 2
- Enable/Disable CSAT Response in Message view HOT 2
- Survey is sent in a different language HOT 1
- chatwoot openai integration failing with error "insufficient_quota" even its a new openAI account. HOT 1
- Foward e-mail address generated with wrong double "reply+" HOT 2
- Agent to be notified by email when is offline (web, mobile, etc..) and user sends a message in website HOT 1
- Duplicity of messages sent to users on WhatsApp | Duplicidade de mensagens enviadas para usuário no WhatsApp HOT 2
- I can't see anything after installation HOT 4
- Email Inbox adds "reply+" before the address HOT 2
- "delete message" should delete on website inboxes HOT 1
- text/plain only emails are not rendered properly HOT 2
- Schedule message "send" - Timing answers HOT 1
- Problem with knowledge base function in Chatwoot self-deployed using Docker Compose HOT 3
- Incomplete API response HOT 1
- Typing a @ in Private Note switches to Reply tab (with German keyboard layout) HOT 1
- User Identity Validation isn’t filtering out the unverified users/messages as expected HOT 8
- IDs exposed - sensitive information HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatwoot.