CustomMetadataLoader icon indicating copy to clipboard operation
CustomMetadataLoader copied to clipboard

IO error on the Custom Metadata Loader page

Open DownstairsB opened this issue 6 years ago • 6 comments

I've uploaded a bunch of records (which was painful enough in and of itself)...

Now When I go to add more, I get this:

IO Exception: Exceeded max size limit of 6000000 Error is in expression '{!checkMdApi}' in component apex:page in page custommetadataloader: Class.MetadataService.MetadataPort.listMetadata: line 9218, column 1 Class.MetadataUtil.checkMetadataAPIConnection: line 30, column 1 Class.CustomMetadataLoaderController.checkMdApi: line 16, column 1

An unexpected error has occurred. Your development organization has been notified.

DownstairsB avatar Apr 19 '18 20:04 DownstairsB

I also got the same error, but I haven't uploaded any records before.

lushang avatar May 05 '18 07:05 lushang

I got the same error, do we have any solution for this? I have deployed the required components via zip and Workbench and haven assigned respective permission set as well. Have created required remote site setting too. Kindly suggest.

aishonline4u avatar Dec 05 '18 20:12 aishonline4u

Same error. Do we have any solution for this? Thanks

alex-masinda avatar Mar 07 '19 16:03 alex-masinda

I haven't found any solution so far, so disappointed.

Let me know if anyone has any leads. Thanks.


From: alex-masinda [email protected] Sent: Thursday, March 7, 2019 11:46 AM To: forcedotcom/CustomMetadataLoader Cc: Gaur, Aishwarya (Cognizant); Comment Subject: Re: [forcedotcom/CustomMetadataLoader] IO error on the Custom Metadata Loader page (#39)

Same error. Do we have any solution for this? Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/forcedotcom/CustomMetadataLoader/issues/39#issuecomment-470602386, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArhpMXDD8Ml3PiVVysp6x2AmpSoy7Yerks5vUUJ3gaJpZM4TccP7.

aishonline4u avatar Mar 08 '19 16:03 aishonline4u

After a long time and come back to share my workaround :)

I used python to parse the each record in the csv file into custom metadata file with the format just as same as I retrieved from Salesforce using Ant Migration Tool. Then I used Ant Migration Tool to deploy these files into Salesforce. It took more than 30 minutes for the deployment since there are more than 40,000 records.

When I used these 40,000+ custom metadata by SOQL, the first call takes 10+ seconds to get any records I want, which shows that the records of custom metadata may have a very low limit.

Anyway, If you have to Upload mass custom metadata records into Salesforce, you can see my example in this repo.

lushang avatar Mar 15 '19 11:03 lushang

I have uploaded a bunch of data into the custom metadata, while i was trying to insert a few more i got the above mentioned error. Does anyone have a solution for this?

meghan33 avatar Jun 25 '20 07:06 meghan33