question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dataviews return forbidden error when using auth api beta with carto.js v4 beta

See original GitHub issue

When creating an API key with maps permission for a private dataset and using this api key for a CARTO.js v4 beta, the map is rendered correctly.

However, when adding a Formula dataview, CARTO.js v4 is returning me the next error message:

screen shot 2018-03-19 at 09 54 49

screen shot 2018-03-19 at 09 55 14

If I try to add SQL permissions to the dataset, I get the same error.

I’m attaching the code of the map here:

auth_api_cartojsv4.html.zip

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
ivanmalagoncommented, Mar 21, 2018

It’s normal that you don’t see the api_key… because it’s not there.

que yo la vea

2reactions
jsanzcommented, Mar 23, 2018

Confirmed, Maps only API key working with dataviews here https://codepen.io/jsanz/pen/wmeMLo

Awesome @ivanmalagon

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting data manually from CARTO.js four dataview?
My solution for that is to add the first layer to the client, when the promise returns the actual layer, then I add...
Read more >
How to use CARTO.js with React
Dataviews are objects used to extract data from a CARTO account in predefined ways (eg: count how many rentals are available, get the...
Read more >
Untitled
Super bomberman 4 snes online, Parkorman havuz 2012 fiyat, Bg028? Bachelor flats to rent in elandsfontein, Time2die, Ec1030 transistor datasheet, ...
Read more >
Untitled
How to use rested xp swtor, Louisiana state university online accounting courses, ... Sheucherebelni 4, Linux retro gaming distro, Mini crab like bug, ......
Read more >
目录 - Gitee
The return value for node::Buffer::New() is an instantiated JS Buffer object. ... [ c0d858f8bb ] - (SEMVER-MAJOR) deps: upgrade npm beta to 5.0.0-beta.56 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found