function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Andre A.Andre A. 

"Deploy the ApexMocks open source library" in the trail does not work

I have free test salesforce

this trail
https://trailhead.salesforce.com/modules/apex_patterns_dsl/units/apex_patterns_dsl_apply_dl_principles

i shell deploy the source librarys
https://githubsfdeploy.herokuapp.com/?owner=financialforcedev&repo=fflib-apex-mocks
https://githubsfdeploy.herokuapp.com/?owner=financialforcedev&repo=fflib-apex-common

if i go Sandbox.. i cannot log in.. if i go production i get "OAuth Error"
We can't authorize you because of an OAuth error. For more information, contact your Salesforce administrator.
1800 : There was a problem in setting up your remote access

Sergii P.Sergii P.
Hi Andre,
I got the same problem but for the next module: https://trailhead.salesforce.com/modules/apex_patterns_sl/units/apex_patterns_sl_apply_uow_principles
Did you solve this "OAuth error"?
Thanks in advance
Lothar MeffertLothar Meffert
Hi,
I have the same problem with "OAuth Error" on this trail:
https://trailhead.salesforce.com/modules/apex_patterns_sl/units/apex_patterns_sl_apply_uow_principles
Did you find a solution for this problem?
Kind regards
Sergii P.Sergii P.
Hi there,

Seems no answers for these questions so far...
I passed the "Apex Enterprise Patterns: Service Layer" module.
Workaround: manually move the fflib_SObjectUnitOfWork.cls and fflib_ISObjectUnitOfWork.cls from Apex Common open source library and add required test.
Hope this helps.
George Kibilov 1George Kibilov 1
Still the same issue, is there anyone at SFDC watching this?
Sebastian KSebastian K
Has anybody found an answer to this? Or another solution?
 
Swapnagandha HawaldarSwapnagandha Hawaldar
I am stuck on this challenge as well but I am not getting OAuth error. Instead I am getting error "customMetadata/README.md(1,1):Error parsing file: Content is not allowed in prolog" while deploying financialforcedev/fflib-apex-mocks. When I searched the net looking for a cure (!), people have suggested renaming Readme file or adding package.xml file in src folder. I am not sure how to do either of these things. Has anyone found any solution?