BC30560: 'ResponseStatus' is ambiguous in the namespace 'UiPath.BAF.Models.Response'

Hi Team

I am working on Get record activity inside Dynamics Finance and Operation scope and getting following error while assigning a variable type ResponseStatus in output.

BC30560: ‘ResponseStatus’ is ambiguous in the namespace ‘UiPath.BAF.Models.Response’.

Can someone please help me to understand the issue and fix it?

@Naresh_Upadhyay ,

It’s due to ResponseStatus is available in both the namespaces UiPath.BAF.Models.Response & UiPath.MicrosoftDynamicsFO.Activities.GetRecord

Resolution:
If not using UiPath.BAF.Models.Response on the current workflow file, go to Imports panel, search for the namespace, Right click on it and click delete.

image

This should resolve your issue.

Thanks,
Ashok :slight_smile:

Thanks, Ashok!

I am unable to delete this namespace. However, I have deleted all the variables.

Is the issue fixed now? If not declare your variable with this as datatype

UiPath.MicrosoftDynamicsFO.GetRecord

It’s not working. I also have deleted UiPath.BAF.Models.Response manually.

No need to delete that I guess. Add that again. Just try to declare that output variable with this datatype.

Unfortunately I unable to recreate the issue at my side.

Thanks,
Ashok :slight_smile:

Thanks, Ashok for your help!! I created a new process and tried with that.

It’s working for now.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.