Salesforce

Google Troubleshooting (Magic xpi 4.6)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Google Troubleshooting (Magic xpi 4.6)

Q1

Why can't I validate my Google resource?

A1

When you click the Google Resource Setting window's Validate button, and the StoredCredential file does not exist under the <My Documents>\Magic\projects\<project name>\<current project>\resource\Google\<resource name>\credentialsdatastore folder, a new StoredCredential file is created. However, this newly created StoredCredential file is not valid as it does not contain the client_secrets token. This causes the validation process to fail. In this situation, you need to perform the OAuth 2.0 authorization flow again, from the beginning, to create a valid StoredCredential file.

A valid StoredCredential file is a file that was retrieved from the Google server after performing the OAuth 2.0 authorization flow. After the completion of the validation process, the StoredCredential file is recognized as a valid one. This is why the file's Date modified field is changed when you click OK upon receipt of the validation success message.

Reference
Attachment 
Attachment