Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
Question by gcorretge · Apr 09, 2019 at 06:35 AM · rfarfa c++rfa.net

Failing get FX Prices using RFA

Since yesterday our software that retrieves FX prices using RFA is failing with next exception:

Exception Info: ThomsonReuters.RFA.Common.InvalidUsageException

Stack:

at ThomsonReuters.RFA.Common.InvalidUsageException.ThrowInvalidUsageException(Int32, Int32, StateEnum, StatusCodeEnum, ThomsonReuters.RFA.Common.RFA_String)

at ThomsonReuters.RFA.RDM.RDMFieldDictionary.GetFidDef(Int16)

at FXService.client.BaseClient.processMarketPrice(ThomsonReuters.RFA.Message.RespMsg, Int64)

at ThomsonReuters.RFA.SessionLayer.OMMItemEvent.NotifyNativeEvent(ThomsonReuters.RFA.Common.ClientEventClosure, rfa.common.Event*)

at <Module>.ThomsonReuters.RFA.SessionLayer.Unmanaged.UnmanagedEventClient.processEvent(ThomsonReuters.RFA.SessionLayer.Unmanaged.UnmanagedEventClient*, rfa.common.Event*)

at ThomsonReuters.RFA.Common.EventQueue.Dispatch()

at FXService.ReutersClient.<.ctor>b__10_0()

at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)

at System.Threading.ThreadHelper.ThreadStart()

RDMFieldDictionary has been changed?

Thanks.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by moragodkrit.chumsri_1 · Apr 09, 2019 at 07:17 AM

@gcorretge

RFA will throw the InvalidUasageException when it can't find the definition of the fid id which application passes to the method GetFidDef. In this case, the data that the application received from the data feed may contain new fid/field. You can add a try-catch block to get more details from the InvalidUsageException class.

The RDMFieldDict you are using may not up to date. You may need to update the data dictionary files (RDMFieldDef and enumtype.def) to latest version and you can download it from Software Download page and search for "TREP Template Service pack".

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

RFA error codes

Service name alias for RFA

[RFA]Not getting Level2 data for Singapore Equities data

RFA.NET Tutorals Where are the readme files?

RFA .NET Level 2 data subscription

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges