Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Custom script upload package error

(0) ShareShare
ReportReport
Posted on by 2,032

Hi,

I have already used custom scripts earlier in my project. But this time, I am getting a weird error when uploading the package from 'Custom script ' form.

Tried with a simple infolog message in the class and it gave the same error . Our env is in PU30.

Any leads would be much helpful.

Please note I am trying to upload the new model for the first time to execute the script.  

pastedimage1675955735834v1.png

  • amarboddu Profile Picture
    amarboddu 2 on at
    Custom script upload package error
    Any update on how this was resolved?
  • Suggested answer
    huijij Profile Picture
    huijij 19,811 on at
    RE: Custom script upload package error - D365 FO

    Hi Anitha,

    For the error message, suggest you check if you have deployed the packages by clicking the Extension > Dynamics365 > Deploy > create deployment package. You may be patient until the packaging is completed.

  • AnithaEswaran Profile Picture
    AnithaEswaran 2,032 on at
    RE: Custom script upload package error - D365 FO

    Hi Andre,

    As my script was lengthy one, I tried with a simple info which was also giving the same error.

    This is a new model and has only this runnable class . 

    pastedimage1675975347588v1.png

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,703 Super User 2024 Season 2 on at
    RE: Custom script upload package error - D365 FO

    Hi Anitha,

    Can you confirm if the deployable package contains only one object which is the runnable class? Can you otherwise share the coding? You can paste coding using the rich formatting and then Insert > Code.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans