big query- Exception is Value cannot be null. Parameter name: baseUri - google-api

I have been working with file uploads to BigQuery for some time now.
today I started getting:
Value cannot be null. Parameter name: baseUri
Seen this error on post on other Google services, but yet to have find an answer. any Idea?
I am using .net API - it seems like the error comes from Threading.dll - but I did not change anything on my code nor my account.

Related

Trying to get primarycontactid of particular account in Dynamics 365 CRM through API and getting "Bad Request - Error in query syntax"

I'm sending a GET request to
{orgname}.crm.dynamics.com/api/data/v9.1/accounts(accountGuid)$select=_primarycontactid_value
and getting an error:
Bad Request - Error in query syntax
I'm using the query syntax I found here https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/247815/how-to-get-all-the-primary-contact-of-a-specific-account-through-api/688381
If I take off the $select parameter, I get a JObject with all of the attributes, I'm just not sure why the query syntax is wrong using that parameter. Any help is greatly appreciated.
Try this below as there is a typo in your snippet. Read more
{orgname}.crm.dynamics.com/api/data/v9.1/accounts(accountGuid)?$select=_primarycontactid_value
To avoid such errors, you can always use CRM REST builder to compose and test queries.
Note: I noticed it is not your mistake, I even corrected the snippet in original forum thread from Aric. :)

Quickblox.sdk GetBaseSession() method throws "nonce is required" error

I have used quickblox chat sdk in my old xamarin.forms project. I know that quickblox is not supporting xamarin now, but old sdk was working fine till now, but from last week I am getting this error.
Code:
var baseSesionResult = await Provider.QbProvider.GetBaseSession();
When I am calling QbProvider.GetBaseSession() it throws below error:
CONTENT: {"errors":{"base":["nonce is required"]}}
I have tried different methods available in sdk but none is working. Any one know how to fix this error?
This is Nikolay from QuickBlox support.
Please add "" symbols around nonce and timestamp values and check if the issue is resolved.
The same information is mentioned in our documentation: https://docs.quickblox.com/reference/authentication#create-session
We released a patch for authentication that improves validation according to our documentation.
Hence, the issue is caused by incorrect implementation in the application that is why the server has started showing errors for submitted requests.

Cant figure out, why i get a 403

i try to setup the youtube api but i get a 403.
I tried to setup several times- without success.
https://www.googleapis.com/youtube/v3/videos?part=snippet,contentDetails&id=-DIJvggBrg8&key=xyz
Maybe someone is able to help me or even login to the console for a setup?
The 403 error by itself is not of immediate use. Its attached error code (as I already pointed out above) sheds light on the things that happened.
The API responds to any query you make with a text (that is structured in JSON format). That response text contains the needed error code.
I suggest you to proceed with the following steps:
delete the old API key (right now it is still accessible!);
create a new API key and
run your API query using the new key and then post here the API response text.
Note that I checked the video -DIJvggBrg8 to which your query refers to with my own API key and got no error but a JSON text describing the video.

Using Nasa's API bit confused by the URL

I'm intressted in getting photos from Nasa's Mars rovers that can be found here
https://api.nasa.gov/api.html#MarsPhotos
particularly the MISSION MANIFEST that is said to be stored under /manifests/rover_name
So i assumed this would work
https://api.nasa.gov/mars-photos/api/v1/manifest/curiosity/status&api_key=DEMO_KEY
Sadly this just gives me "No API Key supplied" error.
Does anyone have experince with this and know what the propper URL is for getting the manifest data?
I managed to get the right endpoint at:
https://api.nasa.gov/mars-photos/api/v1/manifests/Curiosity/?api_key=YOUR-API-KEY
There is an error in the url: for first parameter you must prepend "?", which means "beginning of parameters"; for the others you use "&", which is a separator.
Example:
http://www.apisite.com/folder/folder/?query - Full url
http://www.apisite.com - Server
/folder/folder/ - Service
?query - parameters
query: param1=xxx&param2=yyy&param3=zzz

Google picker does not work without filter being applied for some users

we have an integrated with google picker(read-only scope,Docs view) it use to work fine but recently some users are getting blank screens as soon as the pop up shows but when they select some filter everything starts working fine after that no problems.
using developer tools i see all apis returning 200 for that first request
but there were no docs in response(i believe this is the api responsible for bringing docs in picker 'https://docs.google.com/picker/pvr')
when there are no docs returned in above api google is calling another api i assume it is to log error's probably(//docs.google.com/picker/ohnoes)
this api has following error params in it
&error=Cached and requested query mismatch
&line=Not available
&viewToken=["all",null,{"query":null}]
&ms=97
&transferDocs=false
&numErrors=1
has anybody else faced the similar problem
what do error "Cached and requested query mismatch" means in context of drive docs
Fyi - most accounts facing this problem seems like are of company domain for ex "jondoe#company.org"(this is a google account with company domain)
Filters Image
Thanks for your help.
not sure but looks like issue was may be related to google bug
https://issuetracker.google.com/issues/64825685
for me the code that was not working was:
addView(google.picker.ViewId.DOCS)
replaced this code with below code which works as expected
var view = new google.picker.DocsView();
view.setIncludeFolders(true).setOwnedByMe(true).setParent('root');
addView(view).

Resources