Getting Error while scheduling the Batch job

18 views
Skip to first unread message

Apoorv Kuchhal

unread,
Aug 8, 2014, 6:25:54 AM8/8/14
to forcecom-toolkit-f...@googlegroups.com
I am getting the below apex errors after installing the App in salesforce annd getting an error in schedule class.

Request Error: <?xml version="1.0" encoding="UTF-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<domain>GData</domain>
<code>authError</code>
<location type="header">Authorization</location>
<internalReason>Invalid Credentials</in


Please tell me how can i resolve this issue??

Thanks,
Apoorv Kuchhal


Matthew Botos

unread,
Aug 11, 2014, 12:26:57 PM8/11/14
to forcecom-toolkit-f...@googlegroups.com
Hi Apoorv,
It looks like you have the Remote Site setup correctly, so you might want to double-check the credentials in Salesforce:
  • In Setup > Develop > Custom Settings, select Manage next to Site Metric Settings and enter your Google Analytics email and password
  • To find the Table Id for your site, you can use the Google Analytics Data Feed Query Explorer

To test the credentials, you can make a single call using the Developer Console like this:
  • ImportGoogleAnalytics.importSingleMetric(name)
where name is a string with the name of the Custom Settings you created in Setup.   

Matthew
 


--
You received this message because you are subscribed to the Google Groups "Force.com Toolkit For Google Analytics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to forcecom-toolkit-for-goo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages