Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Internal Server Error creating/updating dataExtract #816

Closed
1 of 2 tasks
andbolivar opened this issue Mar 23, 2023 · 11 comments
Closed
1 of 2 tasks

[BUG] Internal Server Error creating/updating dataExtract #816

andbolivar opened this issue Mar 23, 2023 · 11 comments
Assignees
Labels
bug Something isn't working c/dataExtract COMPONENT question Further information is requested

Comments

@andbolivar
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When im trying to deploy a dataExtract / automation i get this error msg:
image

The ID showing does not exist on my deploy folder and only happens when i try to deploy that 2 MetadataType. (Just to clarify deploys correctly on dataExtension and query MetadataType).
image

Expected Behavior

Be able to deploy automation without issue.

Steps To Reproduce

  1. Set the files on the deploy folder with the folder requirement name
  2. Deploy the whole or the selected MetadataType

Version

4.3.4

Environment

  • OS: Windows 11
  • Node: v18.15.0
  • npm:9.5.0

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

No response

@andbolivar andbolivar added bug Something isn't working NEW not yet analyzed new issues get this label labels Mar 23, 2023
@JoernBerkefeld
Copy link
Contributor

hi @andbolivar - the id at the end of that endpoint is the SFMC-internal "ObjectID", not the key that we use in filenames. It's not visible in the GUI and cannot be changed. Some APIs require that.
could you please try this with just a single dataExtract in your deploy folder and - if that still fails, provide the log latest 2 log files (in your project's /log/ folder) as well as the dataExtract JSON you tried to deploy?

make sure you scrub the files from potentially visible client names. #cdp

@JoernBerkefeld JoernBerkefeld self-assigned this Mar 24, 2023
@JoernBerkefeld JoernBerkefeld added c/dataExtract COMPONENT question Further information is requested and removed NEW not yet analyzed new issues get this label labels Mar 24, 2023
@andbolivar
Copy link
Author

andbolivar commented Mar 24, 2023

@JoernBerkefeld JoernBerkefeld changed the title [BUG] Error Endpoint creating a path with a phantom ID [BUG] Internal Server Error creating/updating dataExtract Mar 24, 2023
@JoernBerkefeld
Copy link
Contributor

hm, nothing wrong with these. i couldnt deploy it with your extract type, because I didn't have that, but when I changed that to the default "Data Extension Extract" it worked like a charm.
the type does seem to exist on your server given that there is no error about it in the log. could you try deploying it with a different extract type to test if it generally works?

@andbolivar
Copy link
Author

Still got the same problem swaping to "r__dataExtractType_name": "Data Extension Extract".
I just remember i had to create a ticket to allow Salesforce to add Data Extension with the gzip. maybe they changed some value?.
There is a way to check the Rest call is sending the system?.
(Looks like Salesforce support might check on my BU)

@JoernBerkefeld
Copy link
Contributor

i could do that on my system but instead I decided to add a new feature for it to enable you and others to get that: PR #820 will add it and it will land in release 4.4.0 soon.
please give me a few more days to get that released

@andbolivar
Copy link
Author

Thanks. There is any way to assist to help you on the original problem, or only should i wait to the next release.

@JoernBerkefeld
Copy link
Contributor

JoernBerkefeld commented Mar 28, 2023

Thank you - but I do believe there is nothing more I could do at this point - I think you guessed into the right direction: salesforce might have messed something up when they provisioned that new extract type. Seen similar things before (e.g. missing standard folders om a new BU).

IF YOU DONT WANT TO WAIT:
In mcdev there is a folder lib/util and in there the file auth.js: in that one you will find 2 commented lines of code. If you uncomment those and retry your deployment it should print the api calls to CLI...
If you then append " > my.log" to your command (mcdev deploy cred/bu dataExtract > my.log) all cli output will be saved to the specified file.

Sf support might try to blame it on problems with the tool -saw that just last week- and ask you to confirm if you have the same issue in postman...

@JoernBerkefeld
Copy link
Contributor

@andbolivar - did you ever have a chance to follow up on this with the new --cli=log parameter?

@andbolivar
Copy link
Author

andbolivar commented Jun 1, 2023 via email

@JoernBerkefeld
Copy link
Contributor

did you ever get to solve this mystery, @andbolivar ?

@JoernBerkefeld
Copy link
Contributor

closing this one for now. please feel free to re-open it if & when you are ready to continue it.
#ghostInTheMachine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working c/dataExtract COMPONENT question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants