web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,731 Super User 2025 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.

  • AnithaEswaran Profile Picture
    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

  • Suggested answer
    huijij Profile Picture
    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.

  • amarboddu Profile Picture
    2 on at
    Custom script upload package error
    Any update on how this was resolved?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans