Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

ImportJSONBasicAuth = Invalid argument #56

Closed
uado64 opened this issue Dec 8, 2017 · 2 comments
Closed

ImportJSONBasicAuth = Invalid argument #56

uado64 opened this issue Dec 8, 2017 · 2 comments

Comments

@uado64
Copy link

uado64 commented Dec 8, 2017

Hello guys,

I am trying to import a JSON file with Basic Authentication from this:
=ImportJSONBasicAuth("https://apirest.atinternet-solutions.com/data/v2/json/getMaxDate?&space={s:547656}","login","password","","")

It looks like the format of this URL doesn't work as other URLs do work. What can I do to make it work? Should I encode it to get rid of the curly brackets and the single quotes?

Thanks.

@uado64 uado64 changed the title Invalid argument: (line 215). ImportJSONBasicAuth = Invalid argument Dec 15, 2017
@ralphilius
Copy link

There is ?& between getMaxDate and space={s:547656}. Shouldn't it just ??

Also, you can try encode your url

@uado64
Copy link
Author

uado64 commented Dec 27, 2017

Hi there,

the "?&" is fine, we have managed to encode the URL and it now works perfectly fine.

Cheers.

@uado64 uado64 closed this as completed Dec 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants