Comments (10)
@cifuentesmx Thanks for the note, I missed that point. It is correct, you can only manage the accounts that were created using the platform app. Any other account (either created directly or by any other platform app) cannot be managed. This is done to improve the security of the system.
from chatwoot.
PR-1023 Problems with API endpoints
from chatwoot.
When I make a request to this endpoint, I get this information in the log:
Where can I change the permissions for "validate_plataform_app_permissible"?
from chatwoot.
- Are you hitting
app.chatwoot.com
endpoint? - Could you share the request you are making in postman as curl?
- Are you getting the same error for all endpoints?
from chatwoot.
- Im hitting my host domain as a self-hosted.
- curl --location --request PATCH 'https://XXXXX.XXXXXX.com.br/platform/api/v1/accounts/2'
--header 'Content-Type: application/json'
--header 'api_access_token: XXXXXXXXXXXXXX'
--data '{
"status": "suspended"
}' - Yep, im getting the same error for all endpoints. {
"error": "Non permissible resource"
}
from chatwoot.
@samuelalvesdev are you passing a platformAppApiKey
as the api_access_token?
from chatwoot.
@vishnu-narayanan
Yep, platformAppApiKey
as api_access_token on the header.
from chatwoot.
Please check if the account number 2 is suspended. It looks like the API is returning proper results.
Closing this here as it is not a bug.
from chatwoot.
@pranavrajs
Are you sure about that?
from chatwoot.
@samuelalvesdev is the account created with the platform api? Because i had the same issue deleting the account! I could only delete accounts created with the platform API, normal accounts are somehow protected form platform API changes for some reason. At least I think so.
from chatwoot.
Related Issues (20)
- Can't receive email when adding customer service HOT 4
- Bug in "overview" report HOT 1
- Unable to add Contact Attributes from Conversation Panel - v3.8.0 HOT 3
- Duplicate request to contact in contactPanel HOT 2
- Merge Conversations HOT 6
- Help Center: I18n::InvalidLocale ("nb" is not a valid locale) HOT 1
- chatwoot:open and :close events HOT 1
- Text Typo in Inbox Settings under "Sender name" description HOT 2
- Chatwoot inception HOT 2
- [Bug] Missing webhook when change status OPEN conversation HOT 1
- No reactivity because manifest.json fail to load behind Cloudflare Access HOT 3
- Authorization failed. (Can't use EvolutionAPI nor N8N with Chatwoot. [SELF HOSTED] HOT 1
- Message reply marks the incorrect message HOT 8
- Understanding Code Structure HOT 1
- Next available day/hour is not properly translated HOT 4
- Add Preference for Default Conversation Tab HOT 1
- Messages out of business hours - Only when conversation status are Open HOT 3
- Recebe mas não envia o email HOT 2
- Cannot Load Any Conversations HOT 7
- some messages are not coming to the chatwoot admin area HOT 1
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.