Trying to Sync Wrike with Excel

I am trying to sync Excel with one of my reports in Wrike. I am using PowerQuery code (in advance query option). The code that I used is

    Source = Web.Contents("",
[Headers=[#"Authorization"="bearer <My_Wrike_Permanent_API_Access_Token>"]]),
convertToJson = Json.Document(Source)

The error that I am getting is: -

Expression.Error: The 'Authorization' header is only supported when connecting anonymously. These headers can be used with all authentication types: Accept, Accept-Charset, Accept-Encoding, Accept-Language, Cache-Control, If-Modified-Since, Prefer, Referer.

Kindly suggest, what to do.


1 комментарий
Spot On Innovative Approach Stellar Advice

Hi Sahil! Sorry to hear you've run into this trouble! The code looks good to me, so it seems like an issue with software itself. First of all, could you please let me know whether you are using online Power BI version of the desktop one?

I have found some evidence on Power BI community that Authorization header may not be accepted if you are using Power BI Web.

In desktop software asks you to set up the level of access upon first connection and it should be 'Anonymous', everything is supposed to work fine at that point. 

Pavel M Community Team at Wrike Wrike Product Manager Узнайте о самых популярных функциях Wrike и советах по его использованию

Pavel M Wrike Team member Узнайте о самых популярных функциях Wrike и советах по его использованию

Действия с комментариями Постоянная ссылка

Folllowing List for Post: Trying to Sync Wrike with Excel
[this list is visible for admins and agents only]

Didn’t find what you were looking for? Write new post