DOMO Server side filtering
I am trying to make a programmatic filter, accesscode is generating successfully, but when i try to get the private dashboard, using this api endpoint (https://api.domo.com/v1/cards/embed/auth) I am hgetting the following error.
The doc I am following is: https://developer.domo.com/portal/1yafxad1u8azv-programmatic-filtering
Answers
-
@Matt Tannyhill , @GrantSmith @ArborRose can you guys please help me in this matter. Its a bit turgent
0 -
Seems the user associated with the clientId and clientSecret credentials does not have permission to access the card in the dashboard.
Make sure the user has access to the dashboard or card you are trying to embed. At least view permissions.
Check if you are generating an embed token or a private dashboard or card that the user doesn't have right to view. You could test by logging into Domo with the same credentials as your API client.
Recheck documentation and filtering for any permission issues you may have overlooked. Perhaps try creating a simple card that you know the API user has access to. Use that cards ID to see if the filtering API call works.** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
I have already given access to my API client all the things. As below.
And while making an embedded link, I am getting it in a private like this. What else you suggest I will do, and this dashboard is build by me,
I am not sure what else I am missing!
0 -
I am saying review the permissions on the card, not the share/embed. The client and secret are used for API calls. The error seems to indicate that the specific card in the dashboard does not allow access to the entity using the token.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Can you please help me to redirect from where I can check cards access? Its weird though, because I am creating cards and token with my same credentials! @ArborRose
0 -
Essentially, the error tells you that the user who created the API Client (client ID and secret) doesn't have access to some of the cards on the page you're embedding. I'd try to unshare and reshare the page with the user and confirm that the embed ID is correct.
The scopes on the client just tells the API which API resources the client is able to access. This is to enhance security to allow specific clients access specific parts of the api.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Thanks @GrantSmith yes I am getting this point and I am the sole owner of this dashboard which I am trying to embedd and with those same credentials I created the client ID and Secret. Can you please help me to just check from where I can check the permissions that whether my user has permission to access the cards or not. with screenshot may be, it will be really helpful. Thanks a lot.
Place from where i can see I am the only one who owns this card
0 -
It's definitely shared with your user.
Next steps to confirm I'd recommend going to https://developer.domo.com/manage-clients and logging out if you're already logged in, then log back in making sure you're using your user when you're logging in. You can then confirm the client ID and Secret that you're using with your embed are the same as what you're seeing in the client management area.
If those align, then you'll want to check the access token that you're generating to make sure it's actually generating an access token.
You could also attempt to follow Domo's sample code here and plug in your codes there:
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 737 Beast Mode
- 55 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive