• Olivier Saier
  • NEWBIE
  • 80 Points
  • Member since 2015
  • Salesforce Solutions Architect
  • Capgemini


  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
    Questions
  • 4
    Replies
This Step of the Trailhead "" seams to have a BUG!:

After reviewing the exercise several times, I am getting this error: 
Step not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.QueryException: List has no rows for assignment to SObject

Is any want suffering the same issue?
Any tip?

Thank you very much.
  • September 27, 2018
  • Like
  • 0
This Step of the Trailhead "" seams to have a BUG!:

After reviewing the exercise several times, I am getting this error: 
Step not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.QueryException: List has no rows for assignment to SObject

Is any want suffering the same issue?
Any tip?

Thank you very much.
  • September 27, 2018
  • Like
  • 0
I am using REST service "/services/data/v41.0/connect/files/users/me" to upload a base64 encoded image file.  The upload works and i can see the file under the Files tab, but it is not recognised as an image file, and when downloaded it is the base64 characters.  It seems the REST upload is not converting the base64 data back into a native png graphics file.

Any idea why or how i solve this?

I am posting these headers and body:

Headers:
Content-Type: multipart/form-data; boundary=boundary_string

Body:
--boundary_string
Content-Disposition: form-data; name="entity_content";
Content-Type: application/json

{
    "title": "sean"
}

--boundary_string
Content-Type: application/octet-stream; charset=ISO-8859-1
Content-Disposition: form-data; name="fileData"; filename="image.png"
Content-Transfer-Encoding: binary

<base64 data here>
--boundary_string--
I am sure the answer is right in front of me, but after having to do this challenge twice (would not recognize new trailhead account when I already created one arggghhh!) I am too frustrated.

It is now saying cannot find service appointment with Drill Cable Holes.  What am I missing?User-added imageUser-added image
Hi,

I had developed an app using Canvas. While loading Canvas, it shows an error like,

‘“Oops, there was an error rendering Force.com Canvas application [Hello World].Your browsing session has ended or is invalid. Please re-login to Salesforce.com again.”
User-added image



The app was working fine before. But now it is frequently showing this error. But once I clear the browser cache and then try again, it works well for a while.  After some time it shows the same error.
The Access Method in the Canvas App Settings is Signed Request (POST)

The visual force page looks like,
<apex:page controller="CanvasController">
	..
	..
	<apex:canvasApp id="canvasFrame" applicationName="HelloWorld" parameters="{!parameters}" width="100%"/>
	..
	..
</apex:page>

And the Controller looks like
public class CanvasController{
	public string parameters{get;set;}
	public Contact contactRecord;
	...
	…
	public void someMethod(){
		..
		contactRecord = [SELECT Id, Name FROM Contact LIMIT 1];
		parameters = JSON.serialize(contactRecord);
	}
}
Please help me if you have any idea. Thanks in advance. 
Hi,

I had developed an app using Canvas. While loading Canvas, it shows an error like,

‘“Oops, there was an error rendering Force.com Canvas application [Hello World].Your browsing session has ended or is invalid. Please re-login to Salesforce.com again.”
User-added image



The app was working fine before. But now it is frequently showing this error. But once I clear the browser cache and then try again, it works well for a while.  After some time it shows the same error.
The Access Method in the Canvas App Settings is Signed Request (POST)

The visual force page looks like,
<apex:page controller="CanvasController">
	..
	..
	<apex:canvasApp id="canvasFrame" applicationName="HelloWorld" parameters="{!parameters}" width="100%"/>
	..
	..
</apex:page>

And the Controller looks like
public class CanvasController{
	public string parameters{get;set;}
	public Contact contactRecord;
	...
	…
	public void someMethod(){
		..
		contactRecord = [SELECT Id, Name FROM Contact LIMIT 1];
		parameters = JSON.serialize(contactRecord);
	}
}
Please help me if you have any idea. Thanks in advance.